package com.cc.library.dao;

import java.util.List;

import com.cc.library.domain.Collection;
import com.cc.library.domain.PageBean;

public interface CollectionDao {

	public PageBean<Collection> getCollectionsByReader(Collection collection,int p,int size);
	public PageBean<Collection> getCollectionsByBook(Collection collection,int p,int size);

	public Integer addCollection(Collection collection);
	public boolean deleteCollection(Collection collection);
	public Collection findCollectionById(int collectionId);
	public Collection findCollectionByBookAndReader(Collection collection);


}
